package item7;

public class Zuoye {
	private int chan, kuan;

	public int getChan() {
		return chan;
	}

	public void setChan(int chan) {
		this.chan = chan;
	}

	public int getKuan() {
		return kuan;
	}

	public void setKuan(int kuan) {
		this.kuan = kuan;
	}

	public Zuoye(int chan, int kuan) {
		this.chan = chan;
		this.kuan = kuan;
	}

	public int jishuan() {
		return this.chan * this.kuan;
	}

	public static void main(String[] args) {
		for (int i = 0; i < args.length; i++) {
			System.out.println(args[i]);
		}
		Zuoye zuoye = new Zuoye(12, 34);
		System.out.println(zuoye.jishuan());
		
	}

}
